package com.common.myspring.business;

import com.common.myspring.annotation.Component;
import com.common.myspring.annotation.Resource;

/**
 * @title: OtherBusiness
 * @Author xu-xiang
 * @Date: 2023/8/26 16:51
 * @description:
 */
@Component
public class CircleBusiness {

    @Resource
    private CircleBusiness circleBusiness;

    public void doWork() {
        circleBusiness.operate();
    }

    public void operate() {
        System.out.println("执行循环业务");
    }

    public void say() {
       this.say();
    }
}
